package des.yordan.mihaylov;

/**
 * @author Yordan Mihaylov
 * @version 2011/06/07
 */

public class Customer extends SortableQueueItem {

	private long arrivalTime;
	private long serviceInitTime;
	private long serviceCompletionTime;

	public Customer(long arrivalTime) {
		this.arrivalTime = arrivalTime;
		this.serviceInitTime = 0; // unknown yet
		this.serviceCompletionTime = 0; // unknown yet
	}

	public Customer(long arrivalTime, long serviceInitTime,
			long serviceCompletionTime) {
		this.arrivalTime = arrivalTime;
		this.serviceInitTime = serviceInitTime;
		this.serviceCompletionTime = serviceCompletionTime;
	}

	public long getArrivalTime() {
		return arrivalTime;
	}

	public long getServiceInitTime() {
		return serviceInitTime;
	}

	public long getServiceCompletionTime() {
		return serviceCompletionTime;
	}

	public void setServiceInitTime(long serviceInitTime) {
		this.serviceInitTime = serviceInitTime;
	}

	public void setServiceCompletionTime(long serviceCompletionTime) {
		this.serviceCompletionTime = serviceCompletionTime;
	}

}
